package com.zr.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 检测任务对象 eim_task_detect
 * 
 * @author zhaojunqi
 * @date 2022-10-21
 */
public class EimTaskDetect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 采样人 */
    @Excel(name = "采样人")
    private String idCard;

    /** 被采样人 */
    @Excel(name = "被采样人")
    private String detectedIdCard;

    /** 体温 */
    @Excel(name = "体温")
    private Long temperature;

    /** 送检医院 */
    @Excel(name = "送检医院")
    private String hostipal;

    /** 结果 */
    @Excel(name = "结果")
    private String outcome;

    /** 体温状态 */
    @Excel(name = "体温状态")
    private Long temperatureStatus;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 检测类型 */
    @Excel(name = "检测类型")
    private Long type;

    /** 父单id */
    @Excel(name = "父单id")
    private String pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setDetectedIdCard(String detectedIdCard) 
    {
        this.detectedIdCard = detectedIdCard;
    }

    public String getDetectedIdCard() 
    {
        return detectedIdCard;
    }
    public void setTemperature(Long temperature) 
    {
        this.temperature = temperature;
    }

    public Long getTemperature() 
    {
        return temperature;
    }
    public void setHostipal(String hostipal) 
    {
        this.hostipal = hostipal;
    }

    public String getHostipal() 
    {
        return hostipal;
    }
    public void setOutcome(String outcome) 
    {
        this.outcome = outcome;
    }

    public String getOutcome() 
    {
        return outcome;
    }
    public void setTemperatureStatus(Long temperatureStatus) 
    {
        this.temperatureStatus = temperatureStatus;
    }

    public Long getTemperatureStatus() 
    {
        return temperatureStatus;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "EimTaskDetect{" +
                "id=" + id +
                ", idCard='" + idCard + '\'' +
                ", detectedIdCard='" + detectedIdCard + '\'' +
                ", temperature=" + temperature +
                ", hostipal='" + hostipal + '\'' +
                ", outcome='" + outcome + '\'' +
                ", temperatureStatus=" + temperatureStatus +
                ", date=" + date +
                ", type=" + type +
                ", pid='" + pid + '\'' +
                '}';
    }
}
